/*
 * @Author: pmy
 * @Date: 2022-04-22 17:57:07
 * @LastEditors: pmy
 * @LastEditTime: 2023-09-14 09:54:14
 * @FilePath: \bdcar-net\public\js\GlobalSetting.js
 * @Description:
 * Copyright (c) 2022 by pmy/exsun, All Rights Reserved.
 */
const GlobalSetting = {
  //基础平台版本
  Version: "v1",
  //物联网配置
  IotConfig: {
    //生产服务
    RestAPIService: '/api',
    //登录服务
    LoginService: '/login',
  },
  //地图配置
  MapConfig: {
    tianditu: {
      // 密钥
      key: "9402f38b791ce60439fcaac6b6d01041",
      //在线影像地图
      imageUrl: "http://t{s}.tianditu.gov.cn/img_w/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=img&STYLE=default&TILEMATRIXSET=w&FORMAT=tiles&TileMatrix={z}&TileRow={y}&TileCol={x}&tk=",
      //在线影像注记
      iNoteUrl: "http://t{s}.tianditu.gov.cn/cia_w/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=cia&STYLE=default&TILEMATRIXSET=w&FORMAT=tiles&TileMatrix={z}&TileRow={y}&TileCol={x}&tk=",
      //在线矢量地图           
      vectorUrl: "http://t{s}.tianditu.gov.cn/vec_w/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=vec&STYLE=default&TILEMATRIXSET=w&FORMAT=tiles&TileMatrix={z}&TileRow={y}&TileCol={x}&tk=",
      //在线矢量注记
      vNoteUrl: "http://t{s}.tianditu.gov.cn/cva_w/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=cva&STYLE=default&TILEMATRIXSET=w&FORMAT=tiles&TileMatrix={z}&TileRow={y}&TileCol={x}&tk=",
      //图层显示级别
      zoom: 10,
      //最小缩放级别
      minZoom: 5,
      //最大缩放级别
      maxZoom: 18,
    },
    //  地图坐标系
    wkid: "3857",
    //地图视图中心点
    center: { lng: 114.424314, lat: 30.606697 }, //武汉
    // poiService: "http://58.48.62.228:18078",
    poiService: "//poi.bdlbs.cn",
  },
  //菜单栏列表
  MenuList: [
    {
      index: "centerReport",
      name: "核心报表",
      serialNum: 10,
      children: [
        {
          index: "hyjpsj",
          name: "行业竞品数据",
          serialNum: 11,
        },
        {
          index: "dsdcqk",
          name: "电商达成情况",
          serialNum: 12,
        },
        {
          index: "cpjgyzk",
          name: "产品结构与折扣",
          serialNum: 13,
        },
        {
          index: "qjdrcbb",
          name: "旗舰店日常报表",
          serialNum: 14,
        }
      ],
    },
    {
      index: "investReference",
      name: "投资参考",
      serialNum: 20,
      children: [
        {
          index: "tgbb",
          name: "推广报表",
          serialNum: 21,
        },
        {
          index: "dbbb",
          name: "达播报表",
          serialNum: 22,
        },
        {
          index: "tkbb",
          name: "淘客报表",
          serialNum: 23,
        },
      ],
    },
    {
      index: "gadget",
      name: "小工具",
      serialNum: 30,
      children: [
        {
          index: "cj",
          name: "查价",
          serialNum: 31,
        },
        {
          index: "cjjl",
          name: "查价记录",
          serialNum: 32
        }
      ],
    },
    {
      index: "otherQuery",
      name: "其他查询",
      serialNum: 60,
      children: [
        {
          index: "ddspxqcx",
          name: "订单商品详情查询",
          serialNum: 61,
        },
        {
          index: "cpjgyxlxsjkcx",
          name: "商品价格与销量小时监控查询",
          serialNum: 62,
        },
        {
          index: "lllysjtj",
          name: "流量来源数据统计",
          serialNum: 63,
        },
        {
          index: "ssgjcsjtj",
          name: "搜索关键词数据统计",
          serialNum: 64,
        },
        {
          index: "ztops",
          name: "周top20商品top流量来源数据查询",
          serialNum: 65,
        },
        {
          index: "hysjtj",
          name: "会员数据统计",
          serialNum: 66,
        },
        {
          index: "zdbzbjsjtj",
          name: "自达播直播间数据统计",
          serialNum: 67,
        },
        {
          index: "zdbzbjpxsjcx",
          name: "达播直播间品项数据查询",
          serialNum: 68,
        },
        {
          index: "topcytgsjcx",
          name: "top创意推广数据查询",
          serialNum: 69,
        }
      ],
    },
    {
      index: "dataUpload",
      name: "数据上传",
      serialNum: 40,
      children: [
        {
          index: "dyqjdzbjrb",
          name: "抖音旗舰店直播间日表",
          serialNum: 41,
        },
        {
          index: "tmqjdjdlb",
          name: "天猫旗舰店竞店列表",
          serialNum: 42,
        },
        {
          index: "jplb",
          name: "竞品列表",
          serialNum: 43,
        },
        {
          index: "tmqjdgkrb",
          name: "天猫旗舰店概况日表",
          serialNum: 44,
        },
        {
          index: "cpmxjgtxb",
          name: "产品明细价格体系表",
          serialNum: 45,
        },
        {
          index: "fhxsb",
          name: "发货销售表",
          serialNum: 46,
        },
        // {
        //   index: "cpdmb",
        //   name: "产品代码表",
        //   serialNum: 45,
        // },
        // {
        //   index: "cpzhb",
        //   name: "产品组合表",
        //   serialNum: 46,
        // },
        // {
        //   index: "cpjgb",
        //   name: "产品价格表",
        //   serialNum: 47,
        // },
        // {
        //   index: "zpjgb",
        //   name: "赠品价格表",
        //   serialNum: 48,
        // },
      ],
    },
    {
      index: "systemManage",
      name: "系统管理",
      serialNum: 50,
      children: [
        {
          index: "systemMenu",
          name: "系统菜单",
          serialNum: 51,
        },
        {
          index: "systemUser",
          name: "系统用户",
          serialNum: 52,
        },
      ],
    },
  ],
  fakeTime: ["2024-01-01", "2024-01-17"],
  imgUrlPrefix: 'http://192.168.129.50:4399/'
};

